﻿<%@ Page Title="首页-科技处信息管理系统-公安部上海消防研究所" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="SH.STD.Web.Index" %>

<%@ MasterType TypeName="SH.STD.Web.SiteMaster" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="left" class="sv4">
        <tr>
            <td valign="top">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="3%" height="28">
                            <img src="/images/kjgl_17.gif" alt="" width="27" height="25"/>
                        </td>
                        <td width="97%">
                            <strong><font color="07538e">&nbsp;最近录入项目</font></strong>
                        </td>
                    </tr>
                </table>
                <asp:Repeater ID="rptLastestProjects" runat="server">
                    <HeaderTemplate>
                        <table width="100%" cellpadding="0" cellspacing="1" bgcolor="b0cee6" align="center">
                            <tr>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="40%">
                                    项目名称
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    开始时间
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    结束时间
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    操作
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="Table_Content1">
                            <td align="left" bgcolor="#FFFFFF" class="db_title">
                                <a onclick="Util.openWin('Project/ProjectManage.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID")%>&Category=<%# DataBinder.Eval(Container.DataItem,"Category")%>','查看',800,600);">
                                    <%# DataBinder.Eval(Container.DataItem, "Name")%></a>
                            </td>
                            <td bgcolor="#FFFFFF">
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "StartDate")).ToString("yyyy-MM-dd")%>
                            </td>
                            <td bgcolor="#FFFFFF">
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "EndDate")).ToString("yyyy-MM-dd")%>
                            </td>
                            <td align="center" bgcolor="#FFFFFF">
                                <a href="Project/ProjectManage.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID")%>&Category=<%# DataBinder.Eval(Container.DataItem,"Category")%>">
                                    项目管理</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="font-size: 12px;"
                    class="page">
                    <tr>
                        <td height="20">
                            共<font color="red">
                                <asp:Label ID="lblCnt1" runat="server" Text="Label"></asp:Label></font>条记录&nbsp;第1页/共<font
                                    color="red">1</font>页
                        </td>
                        <td align="right" style="padding-right: 0px">
                            <a >首页</a> <a>前一页</a> <a href="#">下一页</a>
                            <a href="#">末页</a> 转到<select name="jumpPageForDB" id="jumpPageForDB">
                                <option value="1">1</option>
                            </select>页
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td valign="top" style="padding-top:20px;">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="3%" height="28">
                            <img src="/images/kjgl_18.gif" width="27" height="25">
                        </td>
                        <td width="97%">
                            <strong><font color="07538e">&nbsp;提醒事项</font></strong>
                        </td>
                    </tr>
                </table>
                <asp:Repeater ID="rptProjectsRemind" runat="server">
                    <HeaderTemplate>
                        <table width="100%" cellpadding="0" cellspacing="1" bgcolor="b0cee6" align="center">
                            <tr>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="40%">
                                    项目名称
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    开始时间
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    结束时间
                                </td>
                                <td height="22" align="center" background="/images/kjgl_21.gif" width="20%">
                                    操作
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="Table_Content1">
                            <td align="left" bgcolor="#FFFFFF" class="db_title">
                                <a style="color:Red" onclick="Util.openWin('Project/ProjectManage.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID")%>&Category=<%# DataBinder.Eval(Container.DataItem,"Category")%>','查看',800,600);">
                                    <%# DataBinder.Eval(Container.DataItem, "Name")%></a>
                            </td>
                            <td bgcolor="#FFFFFF">
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "StartDate")).ToString("yyyy-MM-dd")%>
                            </td>
                            <td bgcolor="#FFFFFF">
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "EndDate")).ToString("yyyy-MM-dd")%>
                            </td>
                            <td align="center" bgcolor="#FFFFFF">
                                <a href="Project/ProjectManage.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID")%>&Category=<%# DataBinder.Eval(Container.DataItem,"Category")%>">
                                    项目管理</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="font-size: 12px;"
                    class="page">
                    <tr>
                        <td height="20">
                            共<font color="red"><asp:Label ID="lblCnt2" runat="server" Text="Label"></asp:Label></font>条记录&nbsp;第1页/共<font
                                color="red">1</font>页
                        </td>
                        <td align="right" style="padding-right: 0px">
                            <a>首页</a> <a>前一页</a> <a href="#">下一页</a>
                            <a href="#">末页</a> 转到<select name="jumpPageForDB" id="Select1"><option value="1">1</option>
                            </select>页
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
